package Model;

import java.net.Socket;
import java.util.ArrayList;

/**
 *
 * @author kiko
 */
public class ServerList<E> extends ArrayList<E> {
    
    public boolean adicione(Socket socket) {
        E e = (E) socket;
        new MessageReceiver(socket).start();
        return this.add(e);
    }
}
